package com.choosefine.it.worker.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;

@ApiModel(value = "工资月表")
public class WorkerSalaryMonth implements Serializable {
	
	@ApiModelProperty(value = "主键ID",hidden=true)
    private Integer id;
	
	@ApiModelProperty(value = "班组id")
	private Integer teamId;
	
	@ApiModelProperty(value = "项目code")
	private String projectCode;

	@ApiModelProperty(value = "用户编码",dataType="String")
    private String userCode;

	@ApiModelProperty(value = "工人所在项目-班组关联表 主键",dataType="int")
    private Integer workerItemsRelationId;

	@ApiModelProperty(value = "时间（年月）时间戳",dataType="long")
    private Long realDate;

	@ApiModelProperty(value = "工时（工）",dataType="double")
    private BigDecimal workTime;

	@ApiModelProperty(value = "工时变动（工）",dataType="double")
    private BigDecimal workTimeChanged;

	@ApiModelProperty(value = "工作每单位工资",dataType="double")
    private BigDecimal unitSalary;

	@ApiModelProperty(value = "工资变动",dataType="double")
    private BigDecimal changedSalary;

	@ApiModelProperty(value = "应收款",dataType="double")
    private BigDecimal receivableMoney;

	@ApiModelProperty(value = "已收金额",dataType="double")
    private BigDecimal receivedMoney;

	@ApiModelProperty(value = " 是否有效（0，表示有效，1：表示无效）",dataType="String")
    private String isValid;

	@ApiModelProperty(value = "创建时间",dataType="long")
    private Long ctime;

	@ApiModelProperty(value = "修改时间",dataType="long")
    private Long utime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode == null ? null : userCode.trim();
    }

    public Integer getWorkerItemsRelationId() {
        return workerItemsRelationId;
    }

    public void setWorkerItemsRelationId(Integer workerItemsRelationId) {
        this.workerItemsRelationId = workerItemsRelationId;
    }
    
    public Long getRealDate() {
		return realDate;
	}

	public void setRealDate(Long realDate) {
		this.realDate = realDate;
	}

	public BigDecimal getWorkTime() {
        return workTime;
    }

    
    public Integer getTeamId() {
		return teamId;
	}

	public void setTeamId(Integer teamId) {
		this.teamId = teamId;
	}

	public void setWorkTime(BigDecimal workTime) {
        this.workTime = workTime;
    }

    public BigDecimal getWorkTimeChanged() {
        return workTimeChanged;
    }

    public void setWorkTimeChanged(BigDecimal workTimeChanged) {
        this.workTimeChanged = workTimeChanged;
    }

    public BigDecimal getUnitSalary() {
        return unitSalary;
    }

    public void setUnitSalary(BigDecimal unitSalary) {
        this.unitSalary = unitSalary;
    }

    public BigDecimal getChangedSalary() {
        return changedSalary;
    }

    public void setChangedSalary(BigDecimal changedSalary) {
        this.changedSalary = changedSalary;
    }

    public BigDecimal getReceivableMoney() {
        return receivableMoney;
    }

    public void setReceivableMoney(BigDecimal receivableMoney) {
        this.receivableMoney = receivableMoney;
    }

    public BigDecimal getReceivedMoney() {
        return receivedMoney;
    }

    public void setReceivedMoney(BigDecimal receivedMoney) {
        this.receivedMoney = receivedMoney;
    }

    public String getIsValid() {
        return isValid;
    }

    public void setIsValid(String isValid) {
        this.isValid = isValid == null ? null : isValid.trim();
    }

    public Long getCtime() {
        return ctime;
    }

    public void setCtime(Long ctime) {
        this.ctime = ctime;
    }

    public Long getUtime() {
        return utime;
    }

    public void setUtime(Long utime) {
        this.utime = utime;
    }

	public String getProjectCode() {
		return projectCode;
	}

	public void setProjectCode(String projectCode) {
		this.projectCode = projectCode;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

    
}